package mymodel

import "github.com/gogf/gf/v2/os/gtime"

type IotDataM1 struct {
	DeviceNo   string      `json:"deviceNo"       orm:"device_no"        description:"设备编号"`
	Sampletime uint64      `json:"sampletime"     orm:"sampletime"       description:"采集时间"`
	CreatedAt  *gtime.Time `json:"createdAt"      orm:"created_at"       description:"创建时间"`
	Status     int         `json:"status"         orm:"status"           description:"状态"`

	AeMeasureSpeed uint    `json:"aeMeasureSpeed" orm:"ae_measure_speed" description:"采样速度"`
	AeGainValue    uint    `json:"aeGainValue"    orm:"ae_gain_value"    description:"前放放大倍数"`
	AeEnlargeValue float64 `json:"aeEnlargeValue" orm:"ae_enlarge_value" description:"系统放大倍数"`
	AeAmp          float64 `json:"aeAmp"          orm:"ae_amp"           description:"幅度"`
	AePower        float64 `json:"aePower"        orm:"ae_power"         description:"能量"`
	AeAsl          float64 `json:"aeAsl"          orm:"ae_asl"           description:"平均值"`
	AeRms          float64 `json:"aeRms"          orm:"ae_rms"           description:"有效值"`
	AeRingingNum   uint    `json:"aeRingingNum"   orm:"ae_ringing_num"   description:"振铃计数"`
	AeRisingNum    uint    `json:"aeRisingNum"    orm:"ae_rising_num"    description:"上升计数"`
	AeRisingTime   uint    `json:"aeRisingTime"   orm:"ae_rising_time"   description:"上升时间"`
	AeDurningTime  uint    `json:"aeDurningTime"  orm:"ae_durning_time"  description:"持续时间"`
	AePeakFreq     uint    `json:"aePeakFreq"     orm:"ae_peak_freq"     description:"峰值频率"`
	AeCentroidFre  uint    `json:"aeCentroidFre"  orm:"ae_centroid_fre"  description:"质心频率"`
	AeFre1BandPro  uint    `json:"aeFre1BandPro"  orm:"ae_fre1_band_pro" description:"局部功率谱1占比"`
	AeFre2BandPro  uint    `json:"aeFre2BandPro"  orm:"ae_fre2_band_pro" description:"局部功率谱2占比"`
	AeFre3BandPro  uint    `json:"aeFre3BandPro"  orm:"ae_fre3_band_pro" description:"局部功率谱3占比"`
	AeFre4BandPro  uint    `json:"aeFre4BandPro"  orm:"ae_fre4_band_pro" description:"局部功率谱4占比"`
	AeFre5BandPro  uint    `json:"aeFre5BandPro"  orm:"ae_fre5_band_pro" description:"局部功率谱5占比"`
}

type IotDataM2 struct {
	DeviceNo   string      `json:"deviceNo"       orm:"device_no"        description:"设备编号"`
	Sampletime uint64      `json:"sampletime"     orm:"sampletime"       description:"采集时间"`
	CreatedAt  *gtime.Time `json:"createdAt"      orm:"created_at"       description:"创建时间"`
	Status     int         `json:"status"         orm:"status"           description:"状态"`

	AeMeasureSpeed uint    `json:"aeMeasureSpeed" orm:"ae_measure_speed" description:"采样速度"`
	AeGainValue    uint    `json:"aeGainValue"    orm:"ae_gain_value"    description:"前放放大倍数"`
	AeEnlargeValue float64 `json:"aeEnlargeValue" orm:"ae_enlarge_value" description:"系统放大倍数"`
	AeAmp          float64 `json:"aeAmp"          orm:"ae_amp"           description:"幅度"`
	AePower        float64 `json:"aePower"        orm:"ae_power"         description:"能量"`
	AeAsl          float64 `json:"aeAsl"          orm:"ae_asl"           description:"平均值"`
	AeRms          float64 `json:"aeRms"          orm:"ae_rms"           description:"有效值"`
}

type IotDataVI1 struct {
	DeviceNo   string      `json:"deviceNo"           orm:"device_no"              description:"设备编号"`
	Sampletime uint64      `json:"sampletime"         orm:"sampletime"             description:"采样时间"`
	CreatedAt  *gtime.Time `json:"createdAt"          orm:"created_at"             description:"创建时间"`
	Status     int         `json:"status"             orm:"status"                 description:"状态"`

	ViMeasureType      uint    `json:"viMeasureType"      orm:"vi_measure_type"        description:"采样类型  0 单轴 1 三轴"`
	ViMeasureFreq      uint    `json:"viMeasureFreq"      orm:"vi_measure_freq"        description:"采样频率"`
	ViMaxAccZ          float64 `json:"viMaxAccZ"          orm:"vi_max_acc_z"           description:"z最大加速度"`
	ViMaxAccfreqZ      float64 `json:"viMaxAccfreqZ"      orm:"vi_max_accfreq_z"       description:"z最大加速度发生频率"`
	ViAccPeakZ         float64 `json:"viAccPeakZ"         orm:"vi_acc_peak_z"          description:"z加速度峰峰值"`
	ViAccAverageZ      float64 `json:"viAccAverageZ"      orm:"vi_acc_average_z"       description:"z加速度平均值"`
	ViAccAbsAverageZ   float64 `json:"viAccAbsAverageZ"   orm:"vi_acc_abs_average_z"   description:"z加速度整流平均值"`
	ViAccRmsZ          float64 `json:"viAccRmsZ"          orm:"vi_acc_rms_z"           description:"z加速度有效值"`
	ViAccVarZ          float64 `json:"viAccVarZ"          orm:"vi_acc_var_z"           description:"z加速度方差"`
	ViAccStdZ          float64 `json:"viAccStdZ"          orm:"vi_acc_std_z"           description:"z加速度标准差"`
	ViAccCrestZ        float64 `json:"viAccCrestZ"        orm:"vi_acc_crest_z"         description:"z加速度峰值因子"`
	ViAccPulseZ        float64 `json:"viAccPulseZ"        orm:"vi_acc_pulse_z"         description:"z加速度脉冲因子"`
	ViAccFormZ         float64 `json:"viAccFormZ"         orm:"vi_acc_form_z"          description:"z加速度波形因子"`
	ViAccAllowZ        float64 `json:"viAccAllowZ"        orm:"vi_acc_allow_z"         description:"z加速度裕度因子"`
	ViAccSkewZ         float64 `json:"viAccSkewZ"         orm:"vi_acc_skew_z"          description:"z加速度偏度因子"`
	ViAccKurtosisZ     float64 `json:"viAccKurtosisZ"     orm:"vi_acc_kurtosis_z"      description:"z加速度峭度因子"`
	ViAccAverageFreqZ  float64 `json:"viAccAverageFreqZ"  orm:"vi_acc_average_freq_z"  description:"z加速度平均频率"`
	ViAccCentroidFreqZ float64 `json:"viAccCentroidFreqZ" orm:"vi_acc_centroid_freq_z" description:"z加速度质心频率"`
	ViAccRmsFreqZ      float64 `json:"viAccRmsFreqZ"      orm:"vi_acc_rms_freq_z"      description:"z加速度均方根频率"`
	ViAccMsFreqZ       float64 `json:"viAccMsFreqZ"       orm:"vi_acc_ms_freq_z"       description:"z加速度均方频率"`
	ViAccVarFreqZ      float64 `json:"viAccVarFreqZ"      orm:"vi_acc_var_freq_z"      description:"z加速度方差频率"`
	ViAccStdFreqZ      float64 `json:"viAccStdFreqZ"      orm:"vi_acc_std_freq_z"      description:"z加速度标准差频率"`
	ViVelocityMaxZ     float64 `json:"viVelocityMaxZ"     orm:"vi_velocity_max_z"      description:"z速度峰值单位m/s"`
	ViVelocityMaxfreqZ float64 `json:"viVelocityMaxfreqZ" orm:"vi_velocity_maxfreq_z"  description:"z速度峰值频率 单位hz"`
	ViVelocityRmsZ     float64 `json:"viVelocityRmsZ"     orm:"vi_velocity_rms_z"      description:"z速度有效值"`
	ViMaxDistanceZ     float64 `json:"viMaxDistanceZ"     orm:"vi_max_distance_z"      description:"z最大距离值 单位mm"`
	ViAngleZ           float64 `json:"viAngleZ"           orm:"vi_angle_z"             description:"z安装角度"`
	ViTemperature      float64 `json:"viTemperature"      orm:"vi_temperature"         description:"温度"`
	ViVoltage          float64 `json:"viVoltage"          orm:"vi_voltage"             description:"电压"`
}

type IotDataVI2 struct {
	Sampletime uint64      `json:"sampletime"         orm:"sampletime"             description:"采样时间"`
	DeviceNo   string      `json:"deviceNo"           orm:"device_no"              description:"设备编号"`
	CreatedAt  *gtime.Time `json:"createdAt"          orm:"created_at"             description:"创建时间"`
	Status     int         `json:"status"             orm:"status"                 description:"状态"`

	ViMeasureType      uint    `json:"viMeasureType"      orm:"vi_measure_type"        description:"采样类型  0 单轴 1 三轴"`
	ViMeasureFreq      uint    `json:"viMeasureFreq"      orm:"vi_measure_freq"        description:"采样频率"`
	ViMaxAccX          float64 `json:"viMaxAccX"          orm:"vi_max_acc_x"           description:"x最大加速度"`
	ViMaxAccfreqX      float64 `json:"viMaxAccfreqX"      orm:"vi_max_accfreq_x"       description:"x最大加速度发生频率"`
	ViAccPeakX         float64 `json:"viAccPeakX"         orm:"vi_acc_peak_x"          description:"x加速度峰峰值"`
	ViAccAverageX      float64 `json:"viAccAverageX"      orm:"vi_acc_average_x"       description:"x加速度平均值"`
	ViAccAbsAverageX   float64 `json:"viAccAbsAverageX"   orm:"vi_acc_abs_average_x"   description:"x加速度整流平均值"`
	ViAccRmsX          float64 `json:"viAccRmsX"          orm:"vi_acc_rms_x"           description:"x加速度有效值"`
	ViAccVarX          float64 `json:"viAccVarX"          orm:"vi_acc_var_x"           description:"x加速度方差"`
	ViAccStdX          float64 `json:"viAccStdX"          orm:"vi_acc_std_x"           description:"x加速度标准差"`
	ViAccCrestX        float64 `json:"viAccCrestX"        orm:"vi_acc_crest_x"         description:"x加速度峰值因子"`
	ViAccPulseX        float64 `json:"viAccPulseX"        orm:"vi_acc_pulse_x"         description:"x加速度脉冲因子"`
	ViAccFormX         float64 `json:"viAccFormX"         orm:"vi_acc_form_x"          description:"x加速度波形因子"`
	ViAccAllowX        float64 `json:"viAccAllowX"        orm:"vi_acc_allow_x"         description:"x加速度裕度因子"`
	ViAccSkewX         float64 `json:"viAccSkewX"         orm:"vi_acc_skew_x"          description:"x加速度偏度因子"`
	ViAccKurtosisX     float64 `json:"viAccKurtosisX"     orm:"vi_acc_kurtosis_x"      description:"x加速度峭度因子"`
	ViAccAverageFreqX  float64 `json:"viAccAverageFreqX"  orm:"vi_acc_average_freq_x"  description:"x加速度平均频率"`
	ViAccCentroidFreqX float64 `json:"viAccCentroidFreqX" orm:"vi_acc_centroid_freq_x" description:"x加速度质心频率"`
	ViAccRmsFreqX      float64 `json:"viAccRmsFreqX"      orm:"vi_acc_rms_freq_x"      description:"x加速度均方根频率"`
	ViAccMsFreqX       float64 `json:"viAccMsFreqX"       orm:"vi_acc_ms_freq_x"       description:"x加速度均方频率"`
	ViAccVarFreqX      float64 `json:"viAccVarFreqX"      orm:"vi_acc_var_freq_x"      description:"x加速度方差频率"`
	ViAccStdFreqX      float64 `json:"viAccStdFreqX"      orm:"vi_acc_std_freq_x"      description:"x加速度标准差频率"`
	ViVelocityMaxX     float64 `json:"viVelocityMaxX"     orm:"vi_velocity_max_x"      description:"x速度峰值单位m/s"`
	ViVelocityMaxfreqX float64 `json:"viVelocityMaxfreqX" orm:"vi_velocity_maxfreq_x"  description:"x速度峰值频率 单位hz"`
	ViVelocityRmsX     float64 `json:"viVelocityRmsX"     orm:"vi_velocity_rms_x"      description:"x速度有效值"`
	ViMaxDistanceX     float64 `json:"viMaxDistanceX"     orm:"vi_max_distance_x"      description:"x最大距离值 单位mm"`
	ViAngleX           float64 `json:"viAngleX"           orm:"vi_angle_x"             description:"x安装角度"`
	ViMaxAccY          float64 `json:"viMaxAccY"          orm:"vi_max_acc_y"           description:"y最大加速度"`
	ViMaxAccfreqY      float64 `json:"viMaxAccfreqY"      orm:"vi_max_accfreq_y"       description:"y最大加速度发生频率"`
	ViAccPeakY         float64 `json:"viAccPeakY"         orm:"vi_acc_peak_y"          description:"y加速度峰峰值"`
	ViAccAverageY      float64 `json:"viAccAverageY"      orm:"vi_acc_average_y"       description:"y加速度平均值"`
	ViAccAbsAverageY   float64 `json:"viAccAbsAverageY"   orm:"vi_acc_abs_average_y"   description:"y加速度整流平均值"`
	ViAccRmsY          float64 `json:"viAccRmsY"          orm:"vi_acc_rms_y"           description:"y加速度有效值"`
	ViAccVarY          float64 `json:"viAccVarY"          orm:"vi_acc_var_y"           description:"y加速度方差"`
	ViAccStdY          float64 `json:"viAccStdY"          orm:"vi_acc_std_y"           description:"y加速度标准差"`
	ViAccCrestY        float64 `json:"viAccCrestY"        orm:"vi_acc_crest_y"         description:"y加速度峰值因子"`
	ViAccPulseY        float64 `json:"viAccPulseY"        orm:"vi_acc_pulse_y"         description:"y加速度脉冲因子"`
	ViAccFormY         float64 `json:"viAccFormY"         orm:"vi_acc_form_y"          description:"y加速度波形因子"`
	ViAccAllowY        float64 `json:"viAccAllowY"        orm:"vi_acc_allow_y"         description:"y加速度裕度因子"`
	ViAccSkewY         float64 `json:"viAccSkewY"         orm:"vi_acc_skew_y"          description:"y加速度偏度因子"`
	ViAccKurtosisY     float64 `json:"viAccKurtosisY"     orm:"vi_acc_kurtosis_y"      description:"y加速度峭度因子"`
	ViAccAverageFreqY  float64 `json:"viAccAverageFreqY"  orm:"vi_acc_average_freq_y"  description:"y加速度平均频率"`
	ViAccCentroidFreqY float64 `json:"viAccCentroidFreqY" orm:"vi_acc_centroid_freq_y" description:"y加速度质心频率"`
	ViAccRmsFreqY      float64 `json:"viAccRmsFreqY"      orm:"vi_acc_rms_freq_y"      description:"y加速度均方根频率"`
	ViAccMsFreqY       float64 `json:"viAccMsFreqY"       orm:"vi_acc_ms_freq_y"       description:"y加速度均方频率"`
	ViAccVarFreqY      float64 `json:"viAccVarFreqY"      orm:"vi_acc_var_freq_y"      description:"y加速度方差频率"`
	ViAccStdFreqY      float64 `json:"viAccStdFreqY"      orm:"vi_acc_std_freq_y"      description:"y加速度标准差频率"`
	ViVelocityMaxY     float64 `json:"viVelocityMaxY"     orm:"vi_velocity_max_y"      description:"y速度峰值单位m/s"`
	ViVelocityMaxfreqY float64 `json:"viVelocityMaxfreqY" orm:"vi_velocity_maxfreq_y"  description:"y速度峰值频率 单位hz"`
	ViVelocityRmsY     float64 `json:"viVelocityRmsY"     orm:"vi_velocity_rms_y"      description:"y速度有效值"`
	ViMaxDistanceY     float64 `json:"viMaxDistanceY"     orm:"vi_max_distance_y"      description:"y最大距离值 单位mm"`
	ViAngleY           float64 `json:"viAngleY"           orm:"vi_angle_y"             description:"y安装角度"`
	ViMaxAccZ          float64 `json:"viMaxAccZ"          orm:"vi_max_acc_z"           description:"z最大加速度"`
	ViMaxAccfreqZ      float64 `json:"viMaxAccfreqZ"      orm:"vi_max_accfreq_z"       description:"z最大加速度发生频率"`
	ViAccPeakZ         float64 `json:"viAccPeakZ"         orm:"vi_acc_peak_z"          description:"z加速度峰峰值"`
	ViAccAverageZ      float64 `json:"viAccAverageZ"      orm:"vi_acc_average_z"       description:"z加速度平均值"`
	ViAccAbsAverageZ   float64 `json:"viAccAbsAverageZ"   orm:"vi_acc_abs_average_z"   description:"z加速度整流平均值"`
	ViAccRmsZ          float64 `json:"viAccRmsZ"          orm:"vi_acc_rms_z"           description:"z加速度有效值"`
	ViAccVarZ          float64 `json:"viAccVarZ"          orm:"vi_acc_var_z"           description:"z加速度方差"`
	ViAccStdZ          float64 `json:"viAccStdZ"          orm:"vi_acc_std_z"           description:"z加速度标准差"`
	ViAccCrestZ        float64 `json:"viAccCrestZ"        orm:"vi_acc_crest_z"         description:"z加速度峰值因子"`
	ViAccPulseZ        float64 `json:"viAccPulseZ"        orm:"vi_acc_pulse_z"         description:"z加速度脉冲因子"`
	ViAccFormZ         float64 `json:"viAccFormZ"         orm:"vi_acc_form_z"          description:"z加速度波形因子"`
	ViAccAllowZ        float64 `json:"viAccAllowZ"        orm:"vi_acc_allow_z"         description:"z加速度裕度因子"`
	ViAccSkewZ         float64 `json:"viAccSkewZ"         orm:"vi_acc_skew_z"          description:"z加速度偏度因子"`
	ViAccKurtosisZ     float64 `json:"viAccKurtosisZ"     orm:"vi_acc_kurtosis_z"      description:"z加速度峭度因子"`
	ViAccAverageFreqZ  float64 `json:"viAccAverageFreqZ"  orm:"vi_acc_average_freq_z"  description:"z加速度平均频率"`
	ViAccCentroidFreqZ float64 `json:"viAccCentroidFreqZ" orm:"vi_acc_centroid_freq_z" description:"z加速度质心频率"`
	ViAccRmsFreqZ      float64 `json:"viAccRmsFreqZ"      orm:"vi_acc_rms_freq_z"      description:"z加速度均方根频率"`
	ViAccMsFreqZ       float64 `json:"viAccMsFreqZ"       orm:"vi_acc_ms_freq_z"       description:"z加速度均方频率"`
	ViAccVarFreqZ      float64 `json:"viAccVarFreqZ"      orm:"vi_acc_var_freq_z"      description:"z加速度方差频率"`
	ViAccStdFreqZ      float64 `json:"viAccStdFreqZ"      orm:"vi_acc_std_freq_z"      description:"z加速度标准差频率"`
	ViVelocityMaxZ     float64 `json:"viVelocityMaxZ"     orm:"vi_velocity_max_z"      description:"z速度峰值单位m/s"`
	ViVelocityMaxfreqZ float64 `json:"viVelocityMaxfreqZ" orm:"vi_velocity_maxfreq_z"  description:"z速度峰值频率 单位hz"`
	ViVelocityRmsZ     float64 `json:"viVelocityRmsZ"     orm:"vi_velocity_rms_z"      description:"z速度有效值"`
	ViMaxDistanceZ     float64 `json:"viMaxDistanceZ"     orm:"vi_max_distance_z"      description:"z最大距离值 单位mm"`
	ViAngleZ           float64 `json:"viAngleZ"           orm:"vi_angle_z"             description:"z安装角度"`
	ViTemperature      float64 `json:"viTemperature"      orm:"vi_temperature"         description:"温度"`
	ViVoltage          float64 `json:"viVoltage"          orm:"vi_voltage"             description:"电压"`
}

type IotDataM1VI1 struct {
	DeviceNo   string      `json:"deviceNo"       orm:"device_no"        description:"设备编号"`
	Sampletime uint64      `json:"sampletime"     orm:"sampletime"       description:"采集时间"`
	CreatedAt  *gtime.Time `json:"createdAt"      orm:"created_at"       description:"创建时间"`
	Status     int         `json:"status"         orm:"status"           description:"状态"`

	AeMeasureSpeed uint    `json:"aeMeasureSpeed" orm:"ae_measure_speed" description:"采样速度"`
	AeGainValue    uint    `json:"aeGainValue"    orm:"ae_gain_value"    description:"前放放大倍数"`
	AeEnlargeValue float64 `json:"aeEnlargeValue" orm:"ae_enlarge_value" description:"系统放大倍数"`
	AeAmp          float64 `json:"aeAmp"          orm:"ae_amp"           description:"幅度"`
	AePower        float64 `json:"aePower"        orm:"ae_power"         description:"能量"`
	AeAsl          float64 `json:"aeAsl"          orm:"ae_asl"           description:"平均值"`
	AeRms          float64 `json:"aeRms"          orm:"ae_rms"           description:"有效值"`
	AeRingingNum   uint    `json:"aeRingingNum"   orm:"ae_ringing_num"   description:"振铃计数"`
	AeRisingNum    uint    `json:"aeRisingNum"    orm:"ae_rising_num"    description:"上升计数"`
	AeRisingTime   uint    `json:"aeRisingTime"   orm:"ae_rising_time"   description:"上升时间"`
	AeDurningTime  uint    `json:"aeDurningTime"  orm:"ae_durning_time"  description:"持续时间"`
	AePeakFreq     uint    `json:"aePeakFreq"     orm:"ae_peak_freq"     description:"峰值频率"`
	AeCentroidFre  uint    `json:"aeCentroidFre"  orm:"ae_centroid_fre"  description:"质心频率"`
	AeFre1BandPro  uint    `json:"aeFre1BandPro"  orm:"ae_fre1_band_pro" description:"局部功率谱1占比"`
	AeFre2BandPro  uint    `json:"aeFre2BandPro"  orm:"ae_fre2_band_pro" description:"局部功率谱2占比"`
	AeFre3BandPro  uint    `json:"aeFre3BandPro"  orm:"ae_fre3_band_pro" description:"局部功率谱3占比"`
	AeFre4BandPro  uint    `json:"aeFre4BandPro"  orm:"ae_fre4_band_pro" description:"局部功率谱4占比"`
	AeFre5BandPro  uint    `json:"aeFre5BandPro"  orm:"ae_fre5_band_pro" description:"局部功率谱5占比"`

	ViMeasureType      uint    `json:"viMeasureType"      orm:"vi_measure_type"        description:"采样类型  0 单轴 1 三轴"`
	ViMeasureFreq      uint    `json:"viMeasureFreq"      orm:"vi_measure_freq"        description:"采样频率"`
	ViMaxAccZ          float64 `json:"viMaxAccZ"          orm:"vi_max_acc_z"           description:"z最大加速度"`
	ViMaxAccfreqZ      float64 `json:"viMaxAccfreqZ"      orm:"vi_max_accfreq_z"       description:"z最大加速度发生频率"`
	ViAccPeakZ         float64 `json:"viAccPeakZ"         orm:"vi_acc_peak_z"          description:"z加速度峰峰值"`
	ViAccAverageZ      float64 `json:"viAccAverageZ"      orm:"vi_acc_average_z"       description:"z加速度平均值"`
	ViAccAbsAverageZ   float64 `json:"viAccAbsAverageZ"   orm:"vi_acc_abs_average_z"   description:"z加速度整流平均值"`
	ViAccRmsZ          float64 `json:"viAccRmsZ"          orm:"vi_acc_rms_z"           description:"z加速度有效值"`
	ViAccVarZ          float64 `json:"viAccVarZ"          orm:"vi_acc_var_z"           description:"z加速度方差"`
	ViAccStdZ          float64 `json:"viAccStdZ"          orm:"vi_acc_std_z"           description:"z加速度标准差"`
	ViAccCrestZ        float64 `json:"viAccCrestZ"        orm:"vi_acc_crest_z"         description:"z加速度峰值因子"`
	ViAccPulseZ        float64 `json:"viAccPulseZ"        orm:"vi_acc_pulse_z"         description:"z加速度脉冲因子"`
	ViAccFormZ         float64 `json:"viAccFormZ"         orm:"vi_acc_form_z"          description:"z加速度波形因子"`
	ViAccAllowZ        float64 `json:"viAccAllowZ"        orm:"vi_acc_allow_z"         description:"z加速度裕度因子"`
	ViAccSkewZ         float64 `json:"viAccSkewZ"         orm:"vi_acc_skew_z"          description:"z加速度偏度因子"`
	ViAccKurtosisZ     float64 `json:"viAccKurtosisZ"     orm:"vi_acc_kurtosis_z"      description:"z加速度峭度因子"`
	ViAccAverageFreqZ  float64 `json:"viAccAverageFreqZ"  orm:"vi_acc_average_freq_z"  description:"z加速度平均频率"`
	ViAccCentroidFreqZ float64 `json:"viAccCentroidFreqZ" orm:"vi_acc_centroid_freq_z" description:"z加速度质心频率"`
	ViAccRmsFreqZ      float64 `json:"viAccRmsFreqZ"      orm:"vi_acc_rms_freq_z"      description:"z加速度均方根频率"`
	ViAccMsFreqZ       float64 `json:"viAccMsFreqZ"       orm:"vi_acc_ms_freq_z"       description:"z加速度均方频率"`
	ViAccVarFreqZ      float64 `json:"viAccVarFreqZ"      orm:"vi_acc_var_freq_z"      description:"z加速度方差频率"`
	ViAccStdFreqZ      float64 `json:"viAccStdFreqZ"      orm:"vi_acc_std_freq_z"      description:"z加速度标准差频率"`
	ViVelocityMaxZ     float64 `json:"viVelocityMaxZ"     orm:"vi_velocity_max_z"      description:"z速度峰值单位m/s"`
	ViVelocityMaxfreqZ float64 `json:"viVelocityMaxfreqZ" orm:"vi_velocity_maxfreq_z"  description:"z速度峰值频率 单位hz"`
	ViVelocityRmsZ     float64 `json:"viVelocityRmsZ"     orm:"vi_velocity_rms_z"      description:"z速度有效值"`
	ViMaxDistanceZ     float64 `json:"viMaxDistanceZ"     orm:"vi_max_distance_z"      description:"z最大距离值 单位mm"`
	ViAngleZ           float64 `json:"viAngleZ"           orm:"vi_angle_z"             description:"z安装角度"`
	ViTemperature      float64 `json:"viTemperature"      orm:"vi_temperature"         description:"温度"`
	ViVoltage          float64 `json:"viVoltage"          orm:"vi_voltage"             description:"电压"`
}

type IotDataM1VI2 struct {
	DeviceNo   string      `json:"deviceNo"       orm:"device_no"        description:"设备编号"`
	Sampletime uint64      `json:"sampletime"     orm:"sampletime"       description:"采集时间"`
	CreatedAt  *gtime.Time `json:"createdAt"      orm:"created_at"       description:"创建时间"`
	Status     int         `json:"status"         orm:"status"           description:"状态"`

	AeMeasureSpeed uint    `json:"aeMeasureSpeed" orm:"ae_measure_speed" description:"采样速度"`
	AeGainValue    uint    `json:"aeGainValue"    orm:"ae_gain_value"    description:"前放放大倍数"`
	AeEnlargeValue float64 `json:"aeEnlargeValue" orm:"ae_enlarge_value" description:"系统放大倍数"`
	AeAmp          float64 `json:"aeAmp"          orm:"ae_amp"           description:"幅度"`
	AePower        float64 `json:"aePower"        orm:"ae_power"         description:"能量"`
	AeAsl          float64 `json:"aeAsl"          orm:"ae_asl"           description:"平均值"`
	AeRms          float64 `json:"aeRms"          orm:"ae_rms"           description:"有效值"`

	ViMeasureType      uint    `json:"viMeasureType"      orm:"vi_measure_type"        description:"采样类型  0 单轴 1 三轴"`
	ViMeasureFreq      uint    `json:"viMeasureFreq"      orm:"vi_measure_freq"        description:"采样频率"`
	ViMaxAccX          float64 `json:"viMaxAccX"          orm:"vi_max_acc_x"           description:"x最大加速度"`
	ViMaxAccfreqX      float64 `json:"viMaxAccfreqX"      orm:"vi_max_accfreq_x"       description:"x最大加速度发生频率"`
	ViAccPeakX         float64 `json:"viAccPeakX"         orm:"vi_acc_peak_x"          description:"x加速度峰峰值"`
	ViAccAverageX      float64 `json:"viAccAverageX"      orm:"vi_acc_average_x"       description:"x加速度平均值"`
	ViAccAbsAverageX   float64 `json:"viAccAbsAverageX"   orm:"vi_acc_abs_average_x"   description:"x加速度整流平均值"`
	ViAccRmsX          float64 `json:"viAccRmsX"          orm:"vi_acc_rms_x"           description:"x加速度有效值"`
	ViAccVarX          float64 `json:"viAccVarX"          orm:"vi_acc_var_x"           description:"x加速度方差"`
	ViAccStdX          float64 `json:"viAccStdX"          orm:"vi_acc_std_x"           description:"x加速度标准差"`
	ViAccCrestX        float64 `json:"viAccCrestX"        orm:"vi_acc_crest_x"         description:"x加速度峰值因子"`
	ViAccPulseX        float64 `json:"viAccPulseX"        orm:"vi_acc_pulse_x"         description:"x加速度脉冲因子"`
	ViAccFormX         float64 `json:"viAccFormX"         orm:"vi_acc_form_x"          description:"x加速度波形因子"`
	ViAccAllowX        float64 `json:"viAccAllowX"        orm:"vi_acc_allow_x"         description:"x加速度裕度因子"`
	ViAccSkewX         float64 `json:"viAccSkewX"         orm:"vi_acc_skew_x"          description:"x加速度偏度因子"`
	ViAccKurtosisX     float64 `json:"viAccKurtosisX"     orm:"vi_acc_kurtosis_x"      description:"x加速度峭度因子"`
	ViAccAverageFreqX  float64 `json:"viAccAverageFreqX"  orm:"vi_acc_average_freq_x"  description:"x加速度平均频率"`
	ViAccCentroidFreqX float64 `json:"viAccCentroidFreqX" orm:"vi_acc_centroid_freq_x" description:"x加速度质心频率"`
	ViAccRmsFreqX      float64 `json:"viAccRmsFreqX"      orm:"vi_acc_rms_freq_x"      description:"x加速度均方根频率"`
	ViAccMsFreqX       float64 `json:"viAccMsFreqX"       orm:"vi_acc_ms_freq_x"       description:"x加速度均方频率"`
	ViAccVarFreqX      float64 `json:"viAccVarFreqX"      orm:"vi_acc_var_freq_x"      description:"x加速度方差频率"`
	ViAccStdFreqX      float64 `json:"viAccStdFreqX"      orm:"vi_acc_std_freq_x"      description:"x加速度标准差频率"`
	ViVelocityMaxX     float64 `json:"viVelocityMaxX"     orm:"vi_velocity_max_x"      description:"x速度峰值单位m/s"`
	ViVelocityMaxfreqX float64 `json:"viVelocityMaxfreqX" orm:"vi_velocity_maxfreq_x"  description:"x速度峰值频率 单位hz"`
	ViVelocityRmsX     float64 `json:"viVelocityRmsX"     orm:"vi_velocity_rms_x"      description:"x速度有效值"`
	ViMaxDistanceX     float64 `json:"viMaxDistanceX"     orm:"vi_max_distance_x"      description:"x最大距离值 单位mm"`
	ViAngleX           float64 `json:"viAngleX"           orm:"vi_angle_x"             description:"x安装角度"`
	ViMaxAccY          float64 `json:"viMaxAccY"          orm:"vi_max_acc_y"           description:"y最大加速度"`
	ViMaxAccfreqY      float64 `json:"viMaxAccfreqY"      orm:"vi_max_accfreq_y"       description:"y最大加速度发生频率"`
	ViAccPeakY         float64 `json:"viAccPeakY"         orm:"vi_acc_peak_y"          description:"y加速度峰峰值"`
	ViAccAverageY      float64 `json:"viAccAverageY"      orm:"vi_acc_average_y"       description:"y加速度平均值"`
	ViAccAbsAverageY   float64 `json:"viAccAbsAverageY"   orm:"vi_acc_abs_average_y"   description:"y加速度整流平均值"`
	ViAccRmsY          float64 `json:"viAccRmsY"          orm:"vi_acc_rms_y"           description:"y加速度有效值"`
	ViAccVarY          float64 `json:"viAccVarY"          orm:"vi_acc_var_y"           description:"y加速度方差"`
	ViAccStdY          float64 `json:"viAccStdY"          orm:"vi_acc_std_y"           description:"y加速度标准差"`
	ViAccCrestY        float64 `json:"viAccCrestY"        orm:"vi_acc_crest_y"         description:"y加速度峰值因子"`
	ViAccPulseY        float64 `json:"viAccPulseY"        orm:"vi_acc_pulse_y"         description:"y加速度脉冲因子"`
	ViAccFormY         float64 `json:"viAccFormY"         orm:"vi_acc_form_y"          description:"y加速度波形因子"`
	ViAccAllowY        float64 `json:"viAccAllowY"        orm:"vi_acc_allow_y"         description:"y加速度裕度因子"`
	ViAccSkewY         float64 `json:"viAccSkewY"         orm:"vi_acc_skew_y"          description:"y加速度偏度因子"`
	ViAccKurtosisY     float64 `json:"viAccKurtosisY"     orm:"vi_acc_kurtosis_y"      description:"y加速度峭度因子"`
	ViAccAverageFreqY  float64 `json:"viAccAverageFreqY"  orm:"vi_acc_average_freq_y"  description:"y加速度平均频率"`
	ViAccCentroidFreqY float64 `json:"viAccCentroidFreqY" orm:"vi_acc_centroid_freq_y" description:"y加速度质心频率"`
	ViAccRmsFreqY      float64 `json:"viAccRmsFreqY"      orm:"vi_acc_rms_freq_y"      description:"y加速度均方根频率"`
	ViAccMsFreqY       float64 `json:"viAccMsFreqY"       orm:"vi_acc_ms_freq_y"       description:"y加速度均方频率"`
	ViAccVarFreqY      float64 `json:"viAccVarFreqY"      orm:"vi_acc_var_freq_y"      description:"y加速度方差频率"`
	ViAccStdFreqY      float64 `json:"viAccStdFreqY"      orm:"vi_acc_std_freq_y"      description:"y加速度标准差频率"`
	ViVelocityMaxY     float64 `json:"viVelocityMaxY"     orm:"vi_velocity_max_y"      description:"y速度峰值单位m/s"`
	ViVelocityMaxfreqY float64 `json:"viVelocityMaxfreqY" orm:"vi_velocity_maxfreq_y"  description:"y速度峰值频率 单位hz"`
	ViVelocityRmsY     float64 `json:"viVelocityRmsY"     orm:"vi_velocity_rms_y"      description:"y速度有效值"`
	ViMaxDistanceY     float64 `json:"viMaxDistanceY"     orm:"vi_max_distance_y"      description:"y最大距离值 单位mm"`
	ViAngleY           float64 `json:"viAngleY"           orm:"vi_angle_y"             description:"y安装角度"`
	ViMaxAccZ          float64 `json:"viMaxAccZ"          orm:"vi_max_acc_z"           description:"z最大加速度"`
	ViMaxAccfreqZ      float64 `json:"viMaxAccfreqZ"      orm:"vi_max_accfreq_z"       description:"z最大加速度发生频率"`
	ViAccPeakZ         float64 `json:"viAccPeakZ"         orm:"vi_acc_peak_z"          description:"z加速度峰峰值"`
	ViAccAverageZ      float64 `json:"viAccAverageZ"      orm:"vi_acc_average_z"       description:"z加速度平均值"`
	ViAccAbsAverageZ   float64 `json:"viAccAbsAverageZ"   orm:"vi_acc_abs_average_z"   description:"z加速度整流平均值"`
	ViAccRmsZ          float64 `json:"viAccRmsZ"          orm:"vi_acc_rms_z"           description:"z加速度有效值"`
	ViAccVarZ          float64 `json:"viAccVarZ"          orm:"vi_acc_var_z"           description:"z加速度方差"`
	ViAccStdZ          float64 `json:"viAccStdZ"          orm:"vi_acc_std_z"           description:"z加速度标准差"`
	ViAccCrestZ        float64 `json:"viAccCrestZ"        orm:"vi_acc_crest_z"         description:"z加速度峰值因子"`
	ViAccPulseZ        float64 `json:"viAccPulseZ"        orm:"vi_acc_pulse_z"         description:"z加速度脉冲因子"`
	ViAccFormZ         float64 `json:"viAccFormZ"         orm:"vi_acc_form_z"          description:"z加速度波形因子"`
	ViAccAllowZ        float64 `json:"viAccAllowZ"        orm:"vi_acc_allow_z"         description:"z加速度裕度因子"`
	ViAccSkewZ         float64 `json:"viAccSkewZ"         orm:"vi_acc_skew_z"          description:"z加速度偏度因子"`
	ViAccKurtosisZ     float64 `json:"viAccKurtosisZ"     orm:"vi_acc_kurtosis_z"      description:"z加速度峭度因子"`
	ViAccAverageFreqZ  float64 `json:"viAccAverageFreqZ"  orm:"vi_acc_average_freq_z"  description:"z加速度平均频率"`
	ViAccCentroidFreqZ float64 `json:"viAccCentroidFreqZ" orm:"vi_acc_centroid_freq_z" description:"z加速度质心频率"`
	ViAccRmsFreqZ      float64 `json:"viAccRmsFreqZ"      orm:"vi_acc_rms_freq_z"      description:"z加速度均方根频率"`
	ViAccMsFreqZ       float64 `json:"viAccMsFreqZ"       orm:"vi_acc_ms_freq_z"       description:"z加速度均方频率"`
	ViAccVarFreqZ      float64 `json:"viAccVarFreqZ"      orm:"vi_acc_var_freq_z"      description:"z加速度方差频率"`
	ViAccStdFreqZ      float64 `json:"viAccStdFreqZ"      orm:"vi_acc_std_freq_z"      description:"z加速度标准差频率"`
	ViVelocityMaxZ     float64 `json:"viVelocityMaxZ"     orm:"vi_velocity_max_z"      description:"z速度峰值单位m/s"`
	ViVelocityMaxfreqZ float64 `json:"viVelocityMaxfreqZ" orm:"vi_velocity_maxfreq_z"  description:"z速度峰值频率 单位hz"`
	ViVelocityRmsZ     float64 `json:"viVelocityRmsZ"     orm:"vi_velocity_rms_z"      description:"z速度有效值"`
	ViMaxDistanceZ     float64 `json:"viMaxDistanceZ"     orm:"vi_max_distance_z"      description:"z最大距离值 单位mm"`
	ViAngleZ           float64 `json:"viAngleZ"           orm:"vi_angle_z"             description:"z安装角度"`
	ViTemperature      float64 `json:"viTemperature"      orm:"vi_temperature"         description:"温度"`
	ViVoltage          float64 `json:"viVoltage"          orm:"vi_voltage"             description:"电压"`
}

type IotDataM2VI1 struct {
	DeviceNo   string      `json:"deviceNo"       orm:"device_no"        description:"设备编号"`
	Sampletime uint64      `json:"sampletime"     orm:"sampletime"       description:"采集时间"`
	CreatedAt  *gtime.Time `json:"createdAt"      orm:"created_at"       description:"创建时间"`
	Status     int         `json:"status"         orm:"status"           description:"状态"`

	AeMeasureSpeed uint    `json:"aeMeasureSpeed" orm:"ae_measure_speed" description:"采样速度"`
	AeGainValue    uint    `json:"aeGainValue"    orm:"ae_gain_value"    description:"前放放大倍数"`
	AeEnlargeValue float64 `json:"aeEnlargeValue" orm:"ae_enlarge_value" description:"系统放大倍数"`
	AeAmp          float64 `json:"aeAmp"          orm:"ae_amp"           description:"幅度"`
	AePower        float64 `json:"aePower"        orm:"ae_power"         description:"能量"`
	AeAsl          float64 `json:"aeAsl"          orm:"ae_asl"           description:"平均值"`
	AeRms          float64 `json:"aeRms"          orm:"ae_rms"           description:"有效值"`

	ViMeasureType      uint    `json:"viMeasureType"      orm:"vi_measure_type"        description:"采样类型  0 单轴 1 三轴"`
	ViMeasureFreq      uint    `json:"viMeasureFreq"      orm:"vi_measure_freq"        description:"采样频率"`
	ViMaxAccZ          float64 `json:"viMaxAccZ"          orm:"vi_max_acc_z"           description:"z最大加速度"`
	ViMaxAccfreqZ      float64 `json:"viMaxAccfreqZ"      orm:"vi_max_accfreq_z"       description:"z最大加速度发生频率"`
	ViAccPeakZ         float64 `json:"viAccPeakZ"         orm:"vi_acc_peak_z"          description:"z加速度峰峰值"`
	ViAccAverageZ      float64 `json:"viAccAverageZ"      orm:"vi_acc_average_z"       description:"z加速度平均值"`
	ViAccAbsAverageZ   float64 `json:"viAccAbsAverageZ"   orm:"vi_acc_abs_average_z"   description:"z加速度整流平均值"`
	ViAccRmsZ          float64 `json:"viAccRmsZ"          orm:"vi_acc_rms_z"           description:"z加速度有效值"`
	ViAccVarZ          float64 `json:"viAccVarZ"          orm:"vi_acc_var_z"           description:"z加速度方差"`
	ViAccStdZ          float64 `json:"viAccStdZ"          orm:"vi_acc_std_z"           description:"z加速度标准差"`
	ViAccCrestZ        float64 `json:"viAccCrestZ"        orm:"vi_acc_crest_z"         description:"z加速度峰值因子"`
	ViAccPulseZ        float64 `json:"viAccPulseZ"        orm:"vi_acc_pulse_z"         description:"z加速度脉冲因子"`
	ViAccFormZ         float64 `json:"viAccFormZ"         orm:"vi_acc_form_z"          description:"z加速度波形因子"`
	ViAccAllowZ        float64 `json:"viAccAllowZ"        orm:"vi_acc_allow_z"         description:"z加速度裕度因子"`
	ViAccSkewZ         float64 `json:"viAccSkewZ"         orm:"vi_acc_skew_z"          description:"z加速度偏度因子"`
	ViAccKurtosisZ     float64 `json:"viAccKurtosisZ"     orm:"vi_acc_kurtosis_z"      description:"z加速度峭度因子"`
	ViAccAverageFreqZ  float64 `json:"viAccAverageFreqZ"  orm:"vi_acc_average_freq_z"  description:"z加速度平均频率"`
	ViAccCentroidFreqZ float64 `json:"viAccCentroidFreqZ" orm:"vi_acc_centroid_freq_z" description:"z加速度质心频率"`
	ViAccRmsFreqZ      float64 `json:"viAccRmsFreqZ"      orm:"vi_acc_rms_freq_z"      description:"z加速度均方根频率"`
	ViAccMsFreqZ       float64 `json:"viAccMsFreqZ"       orm:"vi_acc_ms_freq_z"       description:"z加速度均方频率"`
	ViAccVarFreqZ      float64 `json:"viAccVarFreqZ"      orm:"vi_acc_var_freq_z"      description:"z加速度方差频率"`
	ViAccStdFreqZ      float64 `json:"viAccStdFreqZ"      orm:"vi_acc_std_freq_z"      description:"z加速度标准差频率"`
	ViVelocityMaxZ     float64 `json:"viVelocityMaxZ"     orm:"vi_velocity_max_z"      description:"z速度峰值单位m/s"`
	ViVelocityMaxfreqZ float64 `json:"viVelocityMaxfreqZ" orm:"vi_velocity_maxfreq_z"  description:"z速度峰值频率 单位hz"`
	ViVelocityRmsZ     float64 `json:"viVelocityRmsZ"     orm:"vi_velocity_rms_z"      description:"z速度有效值"`
	ViMaxDistanceZ     float64 `json:"viMaxDistanceZ"     orm:"vi_max_distance_z"      description:"z最大距离值 单位mm"`
	ViAngleZ           float64 `json:"viAngleZ"           orm:"vi_angle_z"             description:"z安装角度"`
	ViTemperature      float64 `json:"viTemperature"      orm:"vi_temperature"         description:"温度"`
	ViVoltage          float64 `json:"viVoltage"          orm:"vi_voltage"             description:"电压"`
}

type IotDataM2VI2 struct {
	DeviceNo   string      `json:"deviceNo"       orm:"device_no"        description:"设备编号"`
	Sampletime uint64      `json:"sampletime"     orm:"sampletime"       description:"采集时间"`
	CreatedAt  *gtime.Time `json:"createdAt"      orm:"created_at"       description:"创建时间"`
	Status     int         `json:"status"         orm:"status"           description:"状态"`

	AeMeasureSpeed uint    `json:"aeMeasureSpeed" orm:"ae_measure_speed" description:"采样速度"`
	AeGainValue    uint    `json:"aeGainValue"    orm:"ae_gain_value"    description:"前放放大倍数"`
	AeEnlargeValue float64 `json:"aeEnlargeValue" orm:"ae_enlarge_value" description:"系统放大倍数"`
	AeAmp          float64 `json:"aeAmp"          orm:"ae_amp"           description:"幅度"`
	AePower        float64 `json:"aePower"        orm:"ae_power"         description:"能量"`
	AeAsl          float64 `json:"aeAsl"          orm:"ae_asl"           description:"平均值"`
	AeRms          float64 `json:"aeRms"          orm:"ae_rms"           description:"有效值"`

	ViMeasureType      uint    `json:"viMeasureType"      orm:"vi_measure_type"        description:"采样类型  0 单轴 1 三轴"`
	ViMeasureFreq      uint    `json:"viMeasureFreq"      orm:"vi_measure_freq"        description:"采样频率"`
	ViMaxAccX          float64 `json:"viMaxAccX"          orm:"vi_max_acc_x"           description:"x最大加速度"`
	ViMaxAccfreqX      float64 `json:"viMaxAccfreqX"      orm:"vi_max_accfreq_x"       description:"x最大加速度发生频率"`
	ViAccPeakX         float64 `json:"viAccPeakX"         orm:"vi_acc_peak_x"          description:"x加速度峰峰值"`
	ViAccAverageX      float64 `json:"viAccAverageX"      orm:"vi_acc_average_x"       description:"x加速度平均值"`
	ViAccAbsAverageX   float64 `json:"viAccAbsAverageX"   orm:"vi_acc_abs_average_x"   description:"x加速度整流平均值"`
	ViAccRmsX          float64 `json:"viAccRmsX"          orm:"vi_acc_rms_x"           description:"x加速度有效值"`
	ViAccVarX          float64 `json:"viAccVarX"          orm:"vi_acc_var_x"           description:"x加速度方差"`
	ViAccStdX          float64 `json:"viAccStdX"          orm:"vi_acc_std_x"           description:"x加速度标准差"`
	ViAccCrestX        float64 `json:"viAccCrestX"        orm:"vi_acc_crest_x"         description:"x加速度峰值因子"`
	ViAccPulseX        float64 `json:"viAccPulseX"        orm:"vi_acc_pulse_x"         description:"x加速度脉冲因子"`
	ViAccFormX         float64 `json:"viAccFormX"         orm:"vi_acc_form_x"          description:"x加速度波形因子"`
	ViAccAllowX        float64 `json:"viAccAllowX"        orm:"vi_acc_allow_x"         description:"x加速度裕度因子"`
	ViAccSkewX         float64 `json:"viAccSkewX"         orm:"vi_acc_skew_x"          description:"x加速度偏度因子"`
	ViAccKurtosisX     float64 `json:"viAccKurtosisX"     orm:"vi_acc_kurtosis_x"      description:"x加速度峭度因子"`
	ViAccAverageFreqX  float64 `json:"viAccAverageFreqX"  orm:"vi_acc_average_freq_x"  description:"x加速度平均频率"`
	ViAccCentroidFreqX float64 `json:"viAccCentroidFreqX" orm:"vi_acc_centroid_freq_x" description:"x加速度质心频率"`
	ViAccRmsFreqX      float64 `json:"viAccRmsFreqX"      orm:"vi_acc_rms_freq_x"      description:"x加速度均方根频率"`
	ViAccMsFreqX       float64 `json:"viAccMsFreqX"       orm:"vi_acc_ms_freq_x"       description:"x加速度均方频率"`
	ViAccVarFreqX      float64 `json:"viAccVarFreqX"      orm:"vi_acc_var_freq_x"      description:"x加速度方差频率"`
	ViAccStdFreqX      float64 `json:"viAccStdFreqX"      orm:"vi_acc_std_freq_x"      description:"x加速度标准差频率"`
	ViVelocityMaxX     float64 `json:"viVelocityMaxX"     orm:"vi_velocity_max_x"      description:"x速度峰值单位m/s"`
	ViVelocityMaxfreqX float64 `json:"viVelocityMaxfreqX" orm:"vi_velocity_maxfreq_x"  description:"x速度峰值频率 单位hz"`
	ViVelocityRmsX     float64 `json:"viVelocityRmsX"     orm:"vi_velocity_rms_x"      description:"x速度有效值"`
	ViMaxDistanceX     float64 `json:"viMaxDistanceX"     orm:"vi_max_distance_x"      description:"x最大距离值 单位mm"`
	ViAngleX           float64 `json:"viAngleX"           orm:"vi_angle_x"             description:"x安装角度"`
	ViMaxAccY          float64 `json:"viMaxAccY"          orm:"vi_max_acc_y"           description:"y最大加速度"`
	ViMaxAccfreqY      float64 `json:"viMaxAccfreqY"      orm:"vi_max_accfreq_y"       description:"y最大加速度发生频率"`
	ViAccPeakY         float64 `json:"viAccPeakY"         orm:"vi_acc_peak_y"          description:"y加速度峰峰值"`
	ViAccAverageY      float64 `json:"viAccAverageY"      orm:"vi_acc_average_y"       description:"y加速度平均值"`
	ViAccAbsAverageY   float64 `json:"viAccAbsAverageY"   orm:"vi_acc_abs_average_y"   description:"y加速度整流平均值"`
	ViAccRmsY          float64 `json:"viAccRmsY"          orm:"vi_acc_rms_y"           description:"y加速度有效值"`
	ViAccVarY          float64 `json:"viAccVarY"          orm:"vi_acc_var_y"           description:"y加速度方差"`
	ViAccStdY          float64 `json:"viAccStdY"          orm:"vi_acc_std_y"           description:"y加速度标准差"`
	ViAccCrestY        float64 `json:"viAccCrestY"        orm:"vi_acc_crest_y"         description:"y加速度峰值因子"`
	ViAccPulseY        float64 `json:"viAccPulseY"        orm:"vi_acc_pulse_y"         description:"y加速度脉冲因子"`
	ViAccFormY         float64 `json:"viAccFormY"         orm:"vi_acc_form_y"          description:"y加速度波形因子"`
	ViAccAllowY        float64 `json:"viAccAllowY"        orm:"vi_acc_allow_y"         description:"y加速度裕度因子"`
	ViAccSkewY         float64 `json:"viAccSkewY"         orm:"vi_acc_skew_y"          description:"y加速度偏度因子"`
	ViAccKurtosisY     float64 `json:"viAccKurtosisY"     orm:"vi_acc_kurtosis_y"      description:"y加速度峭度因子"`
	ViAccAverageFreqY  float64 `json:"viAccAverageFreqY"  orm:"vi_acc_average_freq_y"  description:"y加速度平均频率"`
	ViAccCentroidFreqY float64 `json:"viAccCentroidFreqY" orm:"vi_acc_centroid_freq_y" description:"y加速度质心频率"`
	ViAccRmsFreqY      float64 `json:"viAccRmsFreqY"      orm:"vi_acc_rms_freq_y"      description:"y加速度均方根频率"`
	ViAccMsFreqY       float64 `json:"viAccMsFreqY"       orm:"vi_acc_ms_freq_y"       description:"y加速度均方频率"`
	ViAccVarFreqY      float64 `json:"viAccVarFreqY"      orm:"vi_acc_var_freq_y"      description:"y加速度方差频率"`
	ViAccStdFreqY      float64 `json:"viAccStdFreqY"      orm:"vi_acc_std_freq_y"      description:"y加速度标准差频率"`
	ViVelocityMaxY     float64 `json:"viVelocityMaxY"     orm:"vi_velocity_max_y"      description:"y速度峰值单位m/s"`
	ViVelocityMaxfreqY float64 `json:"viVelocityMaxfreqY" orm:"vi_velocity_maxfreq_y"  description:"y速度峰值频率 单位hz"`
	ViVelocityRmsY     float64 `json:"viVelocityRmsY"     orm:"vi_velocity_rms_y"      description:"y速度有效值"`
	ViMaxDistanceY     float64 `json:"viMaxDistanceY"     orm:"vi_max_distance_y"      description:"y最大距离值 单位mm"`
	ViAngleY           float64 `json:"viAngleY"           orm:"vi_angle_y"             description:"y安装角度"`
	ViMaxAccZ          float64 `json:"viMaxAccZ"          orm:"vi_max_acc_z"           description:"z最大加速度"`
	ViMaxAccfreqZ      float64 `json:"viMaxAccfreqZ"      orm:"vi_max_accfreq_z"       description:"z最大加速度发生频率"`
	ViAccPeakZ         float64 `json:"viAccPeakZ"         orm:"vi_acc_peak_z"          description:"z加速度峰峰值"`
	ViAccAverageZ      float64 `json:"viAccAverageZ"      orm:"vi_acc_average_z"       description:"z加速度平均值"`
	ViAccAbsAverageZ   float64 `json:"viAccAbsAverageZ"   orm:"vi_acc_abs_average_z"   description:"z加速度整流平均值"`
	ViAccRmsZ          float64 `json:"viAccRmsZ"          orm:"vi_acc_rms_z"           description:"z加速度有效值"`
	ViAccVarZ          float64 `json:"viAccVarZ"          orm:"vi_acc_var_z"           description:"z加速度方差"`
	ViAccStdZ          float64 `json:"viAccStdZ"          orm:"vi_acc_std_z"           description:"z加速度标准差"`
	ViAccCrestZ        float64 `json:"viAccCrestZ"        orm:"vi_acc_crest_z"         description:"z加速度峰值因子"`
	ViAccPulseZ        float64 `json:"viAccPulseZ"        orm:"vi_acc_pulse_z"         description:"z加速度脉冲因子"`
	ViAccFormZ         float64 `json:"viAccFormZ"         orm:"vi_acc_form_z"          description:"z加速度波形因子"`
	ViAccAllowZ        float64 `json:"viAccAllowZ"        orm:"vi_acc_allow_z"         description:"z加速度裕度因子"`
	ViAccSkewZ         float64 `json:"viAccSkewZ"         orm:"vi_acc_skew_z"          description:"z加速度偏度因子"`
	ViAccKurtosisZ     float64 `json:"viAccKurtosisZ"     orm:"vi_acc_kurtosis_z"      description:"z加速度峭度因子"`
	ViAccAverageFreqZ  float64 `json:"viAccAverageFreqZ"  orm:"vi_acc_average_freq_z"  description:"z加速度平均频率"`
	ViAccCentroidFreqZ float64 `json:"viAccCentroidFreqZ" orm:"vi_acc_centroid_freq_z" description:"z加速度质心频率"`
	ViAccRmsFreqZ      float64 `json:"viAccRmsFreqZ"      orm:"vi_acc_rms_freq_z"      description:"z加速度均方根频率"`
	ViAccMsFreqZ       float64 `json:"viAccMsFreqZ"       orm:"vi_acc_ms_freq_z"       description:"z加速度均方频率"`
	ViAccVarFreqZ      float64 `json:"viAccVarFreqZ"      orm:"vi_acc_var_freq_z"      description:"z加速度方差频率"`
	ViAccStdFreqZ      float64 `json:"viAccStdFreqZ"      orm:"vi_acc_std_freq_z"      description:"z加速度标准差频率"`
	ViVelocityMaxZ     float64 `json:"viVelocityMaxZ"     orm:"vi_velocity_max_z"      description:"z速度峰值单位m/s"`
	ViVelocityMaxfreqZ float64 `json:"viVelocityMaxfreqZ" orm:"vi_velocity_maxfreq_z"  description:"z速度峰值频率 单位hz"`
	ViVelocityRmsZ     float64 `json:"viVelocityRmsZ"     orm:"vi_velocity_rms_z"      description:"z速度有效值"`
	ViMaxDistanceZ     float64 `json:"viMaxDistanceZ"     orm:"vi_max_distance_z"      description:"z最大距离值 单位mm"`
	ViAngleZ           float64 `json:"viAngleZ"           orm:"vi_angle_z"             description:"z安装角度"`
	ViTemperature      float64 `json:"viTemperature"      orm:"vi_temperature"         description:"温度"`
	ViVoltage          float64 `json:"viVoltage"          orm:"vi_voltage"             description:"电压"`
}

type IotWaveAe struct {
	DeviceNo    string      `json:"deviceNo"    orm:"device_no"    description:"设备编号"`
	Sampletime  uint64      `json:"sampletime"  orm:"sampletime"   description:"采集时间"`
	CreatedAt   *gtime.Time `json:"createdAt"   orm:"created_at"   description:"创建时间"`
	WaveType    uint        `json:"waveType"    orm:"wave_type"    description:"波形类型标志 0 时域 1 频域"`
	Flag        int         `json:"flag"        orm:"flag"         description:"标识 0本地 1oss"`
	StoreServer string      `json:"storeServer" orm:"store_server" description:"分布式服务器"`
	Bucket      string      `json:"bucket"      orm:"bucket"       description:"桶"`
	Path        string      `json:"path"        orm:"path"         description:"路径"`
	Status      int         `json:"status"      orm:"status"       description:"状态0"`
	Wave        []byte      `json:"wave"`
}

type IotWaveVi struct {
	DeviceNo    string      `json:"deviceNo"    orm:"device_no"    description:"设备编号"`
	Sampletime  uint64      `json:"sampletime"  orm:"sampletime"   description:"采集时间"`
	CreatedAt   *gtime.Time `json:"createdAt"   orm:"created_at"   description:"创建时间"`
	Direction   uint        `json:"direction"   orm:"direction"    description:"轴向【 0x 1y 2z】"`
	WaveType    uint        `json:"waveType"    orm:"wave_type"    description:"波形类型标志 0 时域 1 频域"`
	Flag        int         `json:"flag"        orm:"flag"         description:"标识 0本地 1oss"`
	StoreServer string      `json:"storeServer" orm:"store_server" description:"分布式服务器"`
	Bucket      string      `json:"bucket"      orm:"bucket"       description:"桶"`
	Path        string      `json:"path"        orm:"path"         description:"路径"`
	Status      int         `json:"status"      orm:"status"       description:"状态0"`
	Wave        []byte      `json:"wave"`
}

// WaveCacheData 缓存波形的结构体
type WaveCacheData struct {
	Wave       string `json:"wave"` //缓存json必须是字符串了 hex.EncodeToString(bytes)
	Sampletime uint64 `json:"sampletime"     orm:"sampletime"       description:"采集时间"`
}
